import axios from "axios";

const API_URL = "http://localhost:8080/app/product"

export const getAllPage=(requestParams)=>{
    return axios.get(`${API_URL}`,{params:requestParams})
}

export const getDetail=(id)=>{
    return axios.get(`${API_URL}/${id}`)
}
